package com.api.hg.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

//分部资产管理员异常设置
@Table(value="uf_AssetRemindLog",datasource = "local")
public class ZcglyException {
    @Field(dbFiledName="")
    private String gnly="";//功能来源
    @Field(dbFiledName="")
    private String jctxsj="";//检测提醒时间
    @Field(dbFiledName="")
    private String tsnr="";//提示内容
    @Field(dbFiledName="")
    private String yczcsb="";//异常资产设备
    @Field(dbFiledName="")
    private String txbm="";//	提醒部门

    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="166";//模型ID 默认值 本地14
    @Field(dbFiledName="")
    private String modedatacreatertype="0";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    public ZcglyException(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }
    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    public String getGnly() {
        return gnly;
    }

    public void setGnly(String gnly) {
        this.gnly = gnly;
    }

    public String getJctxsj() {
        return jctxsj;
    }

    public void setJctxsj(String jctxsj) {
        this.jctxsj = jctxsj;
    }

    public String getTsnr() {
        return tsnr;
    }

    public void setTsnr(String tsnr) {
        this.tsnr = tsnr;
    }

    public String getYczcsb() {
        return yczcsb;
    }

    public void setYczcsb(String yczcsb) {
        this.yczcsb = yczcsb;
    }

    public String getTxbm() {
        return txbm;
    }

    public void setTxbm(String txbm) {
        this.txbm = txbm;
    }

    @Override
    public String toString() {
        return "ZcglyException{" +
                "gnly='" + gnly + '\'' +
                ", jctxsj='" + jctxsj + '\'' +
                ", tsnr='" + tsnr + '\'' +
                ", yczcsb='" + yczcsb + '\'' +
                ", txbm='" + txbm + '\'' +
                '}';
    }
}
